unit Rkayip;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  Grids, Wwdbigrd, Wwdbgrid, StdCtrls, ppProd, ppClass, ppReport, ppComm,
  ppRelatv, ppDB, ppDBPipe, ppCtrls, ppVar, ppPrnabl, ppBands, ppCache,
  TXComp, TXRB;

type
  TFrkayip = class(TForm)
    wwDBGrid1: TwwDBGrid;
    Button1: TButton;
    Button2: TButton;
    ppDBPipeline1: TppDBPipeline;
    kayipr: TppReport;
    ppHeaderBand1: TppHeaderBand;
    ppDetailBand1: TppDetailBand;
    ppFooterBand1: TppFooterBand;
    ppTitleBand1: TppTitleBand;
    ppLabel1: TppLabel;
    ppSystemVariable1: TppSystemVariable;
    ppSystemVariable2: TppSystemVariable;
    ppDBText1: TppDBText;
    ppLabel2: TppLabel;
    ppDBText2: TppDBText;
    ppLabel3: TppLabel;
    ppDBText3: TppDBText;
    ppLabel4: TppLabel;
    ppDBText4: TppDBText;
    ppLabel5: TppLabel;
    ppLine1: TppLine;
    ppLine2: TppLine;
    ExtraOptions1: TExtraOptions;
    procedure FormClose(Sender: TObject; var Action: TCloseAction);
    procedure Button1Click(Sender: TObject);
    procedure Button2Click(Sender: TObject);
    procedure FormShow(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Frkayip: TFrkayip;

implementation

uses dmrap, udmTeknik;

{$R *.DFM}

procedure TFrkayip.FormClose(Sender: TObject; var Action: TCloseAction);
begin
  action := cafree;
  Frkayip := nil;
end;

procedure TFrkayip.Button1Click(Sender: TObject);
begin
  kayipr.Print;
end;

procedure TFrkayip.Button2Click(Sender: TObject);
begin
  dmrapor.Kayip.close;
  close;
end;

procedure TFrkayip.FormShow(Sender: TObject);
begin
  dmrapor.kayip.close;
  dmrapor.kayip.open;

end;

end.

